﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Manage Rooms.aspx.cs" Inherits="SoftwareEngineering_Project.Manage_Rooms" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
        {
            color: #000000;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Manage rooms:</h2>
    <p>
        <span class="style1">Select a room:</span>
                    <asp:DropDownList ID="Rooms" runat="server" CssClass="bold" 
            AutoPostBack="True" onselectedindexchanged="Rooms_SelectedIndexChanged">
                    </asp:DropDownList>
                &nbsp;&nbsp;&nbsp; <span class="style1">Capabilities:
        <asp:CheckBox ID="Video" runat="server" 
            oncheckedchanged="CheckBox1_CheckedChanged" Text="Video" />
        <asp:CheckBox ID="Phone" runat="server" Text="Phone" />
        </span>&nbsp;&nbsp;&nbsp;
        <asp:Button ID="B_Update" runat="server" style="color: #800000" Text="Update" 
            Width="87px" onclick="Button1_Click" />
&nbsp;&nbsp;&nbsp;
        <asp:Button ID="B_Remove" runat="server" style="color: #800000" Text="Remove" 
            Width="93px" onclick="Button3_Click" />
    <asp:Label ID="Errormessage" runat="server" Font-Bold="True" 
        ForeColor="#CC3300" Text="Label" Visible="False"></asp:Label>
    </p>
    <p style="border-left: thin none #000000; border-right: thin none #000000; border-top: thin solid #000000; border-bottom: thin none #000000; height: 3px;">
        &nbsp;</p>
    <p>
        <span class="style1">Add a new room:</span>
        <asp:TextBox ID="RoomName" runat="server"></asp:TextBox>
&nbsp;&nbsp;&nbsp; <span class="style1">Capabilities:  
        <asp:CheckBox ID="NVideo" runat="server" 
            oncheckedchanged="CheckBox1_CheckedChanged" Text="Video" />
        <asp:CheckBox ID="NPhone" runat="server" Text="Phone" />
        </span>&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="Button2" runat="server" style="color: #800000" Text="Save" 
            Width="89px" onclick="Button2_Click" />
    </p>
    <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
</asp:Content>
